package job.work.domain.response;

/**
 * @Classname ResMsgCode
 * @Description zzy
 * @Date 2020/6/19 19:05
 * @Created by Administrator
 */

public class ResMsgCode implements ResultCode{

    boolean success;
    //操作代码
    int code;
    //提示信息
    String message;

  public ResMsgCode(boolean success, int code, String message){
        this.success = success;
        this.code = code;
        this.message = message;
    }


    @Override
    public boolean success() {
        return false;
    }

    @Override
    public int code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
